import http from "@/utils/http.js"

// 增
export const addGroup = (data) => {
    return http.post('/short-link/group/save', data)
}
// 删
export const delLinkGroup = (gid) => {
    return http.delete('/short-link/group?gid='+gid)
}
// 改
export const editLinkGroup = (data) => {
    return http.post('/short-link/group',data)
}
// 查
export const getLinkGroup = () => {
    return http.get('/short-link/group/list' +`?pageNum=1&pageSize=10`)
}